require 'crawler/brightkite_crawler'
require 'curb'

conditions = nil
conditions = ARGV[0] unless ARGV[0].nil?

crawler = Crawler::BrightkiteCrawler.new :conditions => conditions

p crawler

log = crawler.start_crawling {|c| p c}

puts "Finis #{log}"